<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class AddColumnAffectedTaskInDelayOrderTaskStepCategoryConfirmTable extends AbstractMigration
{
    public function up()
    {
        $this->table("delay_order_task_step_category_confirm")
            ->addColumn('affected_task', 'text', ['null' => true, 'comment' => '影响的任务id列表 以,拼接'])
            ->save();
    }

    public function down()
    {
        $this->table('delay_order_task_step_category_confirm')
            ->removeColumn('affected_task')
            ->save();
    }
}
